package org.example.domain.activity.service;

import org.example.domain.activity.model.entity.*;

/**
 * 抽奖活动接口
 */
public interface IRaffleActivityAccountQuotaService {
    /**
     * 创建抽奖活动订单
     * @param activityShopCartEntity
     * @return
     */

    ActivityOrderEntity createRaffleActivityOrder(ActivityShopCartEntity activityShopCartEntity);


    UnpaidActivityOrderEntity createOrder(SkuRechargeEntity skuRechargeEntity);

    void updateOrder(DeliveryOrderEntity deliveryOrderEntity);

    Integer queryRaffleActivityAccountDayPartakeCount(Long activityId, String userId);

    ActivityAccountEntity queryActivityAccountEntity(Long activityId,String userId);

    Integer queryRaffleActivityAccountPartakeCount(Long activityId, String userId);
}
